from django.conf.urls.defaults import *
import views

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Example:
	#(r'^stealth/', include('stealth.main.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
	(r'^$', views.index),
	(r'^add/$', views.add),
	(r'^entity/del/(?P<entity_id>\d+)$', views.entity_del),
	(r'^stodo/done/(?P<todo_id>\d+)$', views.stodo_done),
	(r'^entity/remove/(?P<entity_id>\d+)$', views.entity_remove),
	(r'^entity/restore/(?P<entity_id>\d+)$', views.entity_restore),


	(r'^trash/clear/$', views.trash_clear),
	(r'^trash/restore/$', views.trash_restore),
	(r'^trash/done/$', views.trash_done),
	(r'^trash$', views.trash),
    # Uncomment the next line to enable the admin:
    # (r'^admin/', include(admin.site.urls)),
)
